added animation to barcharts