Fixes for opening and closing the menu instantly