created slideshow component