Update bar animation.