corrected the slider