responsiveness for the slider