Fix pagination and change the slideshow to work with new vf