Changed animation to use height of bars.