fixed the slider
Merge pull request #58 from Rleahy22/slider_fix

fixed the slider