Moved photo animation to be called after all pictures are loaded