[BUG #7625] Slider should display its value

* Refactoring
* Bound knob display mode to CSS classes "percent" and "value"
* Added tests