adding max height to slideshow