Refactoring

We're down ~500 lines of code on mouseEvents.js! And with even more functionality!
You don't need a variable to store `getType(section)`. Same with below.