some fixes to slider