When window is resized, close menu if window width is <=35em and open menu otherwise.