Adding Behavior for Slider.js.

the fact that targets is an array of objects isn't that clear; it might be worth putting an example snippet of HTML in a comment at the top or something (I realize that the HTML version of the docs probably demonstrates what a proper configuration looks like).