Responsivness for the slider