buttons added to history page to switch between graph/table/summary