I cannot seem to figure out how to correctly code this photo slider. Can anyone please help me? Thanks!

www.spencerfinch.com