Added smooth height to the slider