Slider behaviour fix.