refactored to use MidiSlider instead of SLider