Unbind all event handlers when view-mode is changed.
Merge pull request #63 from pubannotation/bugfix_unbind_leak

Unbind all event handlers when view-mode is changed.