loading animation and load most recent photos