Update container height to match current slide