Add pagination to top of photo gallery page.