Slider - fixed value always max on setRange

When changing the range of a slider it would always change the value of the slider to the max of the range.
Slider - using limit to bring value back in range
Merge pull request #1192 from drgould/master

Slider.js - fixing bug where the value always set to max on setRange