resize and fix slideshow