Update TabbedBar.js

Occasionally the total tab/button width exceeds that of the bar width, forcing the last tab to a new line, out of the tab's viewport.

If a bar width is specified, do not use a horizontal tab layout, instead set the `left` property of each tab to ensure all tabs always remain in the bar's viewport.