Implement next gallery for fullscreen slideshow.