Improve progress slider behaviour.