added transition to bar chart