[WIP] Fix share + version dropdown conflicts

Added more unified dropdown handling for share and versions
    
Now using showMenu/hideMenu for the share and versions dropdown.
This makes them exclude each other and the clicking outside is handled in a single location.

TODOs:
- [ ] BUG: calendar dropdown doesn't reclose when clicking on toggle
- [ ] BUG: "mouseOver" class doesn't stay when switching directly between share and versions dropdowns

Still WIP. Will add a reminder to remove it.