add slideshow method