Fixed slight bug in pagnation script, combined the bar and pie chart at the top