Tabs: Fixed click handling of small-screen tabs

Fixes #5812
Merge pull request #5817 from pjackson28/fixsmalltabs

Tabs: Fixed click handling of small-screen tabs