Thanks for your answer! I have a line of window.addEventListener("resize", CloseMenuOnResize), which calls OpenCloseMenu if the menu is visible, reversing the menu timeline. Is this what you meant? I'm still having the issue that when the menu timeline reverses, the menu is not returning to the same position.