remove and add classes dynamically
Merge pull request #4 from benjibee/master

Any existing classes overwritten when switching tabs