Nav stays open when window is resized

Nav stays open when resizing window. once the window width is larger
than the breakpoint the nav closes nicely.