add animation to bars