add cycle slideshow functionality