Fixed the menu display issue and also the search bar auto layout issue