toggle class to show what part of the nav is open in the subnav