added slideshow resize event