Working visually with slight (graph to vis) change to tabs

now fix tab switching
needs less hacky make working visually
then go back and do other tidying