Bug fixing: Slideshow resize