prevent slideshow height from changing