removing ref to slider in lib
removing getCSSprop because parseInt does the same thing
removing some unnecessary comments