arrange global menu and search on mobiles