Small code for slide height