sliderWidget directive fix