Update mnav.js

Restructured event handling for hover and mobile button onClick