basic function for slideshow - actually not ready