updated barchart, added page transition