adjust slideshow height to current slide height