Fix pagination controls for photo list

The `photo_list.html` template pagination has not been updated, and this gets it working again.