Hack to work when used in a transcluded scope.

I only need a range slider, so this only works with range sliders.