fix glitch at first launch, when menu is not open in viewWillAppear