Added pagination to the bottom of the photos tab