Fixed animateSlideHeight's height calculation