Creating Transitions on a bar chart