added bar animation