changed orientation of pie chart and bar chart buttons