when the nav/subnav was opened in mobile view, the toggles had to be reset when resizing window to desktop width