move dot changes to slider file