html restructuring for tab groups, sweet css changes