fix orientation menu overflow bug