Feedback for Photogallery

It looks great! Your JS resembles the code along heavily. Can you think of some ways to condense the code?