prepare slideshow