Tabs: Fixed direction of slide transitions

Fixes #5633
Merge pull request #5679 from pjackson28/fixcsstransitions

Tabs: Fixed direction of slide transitions