made the slider responsive