Menu state and window resize