fix menu when resizing between desktop and mobile