Show search and categories on different lines if more than two categories and the searchbox is active