add support for switching scopes to Mousetrap https://github.com/ccampbell/mousetrap