Fixed issue with navigation menu and panel