changes before slideshow