Better menu animation
Improve handling of menu open close when resizing window