make the slide reponsive