making changes for slideshow