Fix scrolling of tabs if they do not fit on screen.