added slideshow controller