improvements to slider