added styles to slider