Added responsive design to slider