set up tab view to hold graphs