Adding Behavior for Slider.js.

that's how i had it originally, but i was worried about performance. i'll think about it.