fix switching tabs
Merge pull request #71 from craue/patch-2

fix switching tabs