Properly set the height of the slideshow as it progresses