Pagination added to Photo index page