Hotfix, broken minimap activation on non editor view

* fix broken minimap activation on non editor view, #46
* move resizeend to main file