[BUG #7710] refactored Slider
[BUG #7710] further refactoring