let the color change immediately when moving the bar.