Fixed pie animations, refactored code
refactored bar-chart, removed animation flickering