don't attach toggle handler until window.load Fixes #634
Merge pull request #645 from nickdesaulniers/restore

don't attach toggle handler until window.load Fixes #634