Refactored slider functions to do it more expresive
Refactored slider functions to do it more expresive

Pole-he/DRDoubleTapButton,Pole-he/DRDoubleTapButton,mohsinalimat/DRDoubleTapButton,icepy/DRDoubleTapButton,machelix/DRDoubleTapButton,icepy/DRDoubleTapButton,machelix/DRDoubleTapButton,dgrueda/DRDoubleTapButton,dgrueda/DRDoubleTapButton,mohsinalimat/DRDoubleTapButton