Fix for jquery slider.