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

review? @potch
I removed the fixme comment and opened Issue #644 instead