1. Slider: add control button. Refactoring