added slideshow management