Fix "selected" tab function and styles
Merge pull request #21 from cbwiedel/master

Fix tab function and styles