Added a function to hide the menu when the window is resized