able to load photos with infinite scrolling