moved photos pagination