Adding Behavior for Slider.js.

Very clean. I love methods like this.