animating the pie chart