updated button to slider