menu realizes when it should be minimized