fixing the slider