implement slideshow in detail