fixes #194
Merge pull request #199 from tablatronix/master

fixes cross browser inconsistent mode switching