Slider adjustment

Fixed a bug in sliders having to do with the HOME and END keys.