Tabs: Fixed handling of tabs in large view

Fixes #5587
Merge pull request #5597 from pjackson28/fixtabs

Tabs: Fixed handling of tabs in large view