Fix for issue #20

resetting tab width when the tab placement is Top/Bottom