changed to a class based Slideshow