Update layout in Tab Manager

Change the layout of the Tab Manager to look better when the language is
not English, and when the window is not big enough to show all tab
collections.