This fixes #8042.  It now scrolls just inside the main tabs.