resetting tab width when the tab placement is Top/Bottom
Merge pull request #27 from chetankothari/fix-issue20

Fixes #20