add resize contents to slider.css