update slider behaviour