fixed various issues with the bar chart. also made it transition in from the bottom