Small fix to slider.