adding transitions to bar-chart