Adding an optional slideshow mode