add margin to slider