Fixes a number of issues found after merging in the side nav.
Fixes a race condition creating and removing click handlers in the click-elsewhere modifier that resulted in the menu appearing to not open after changing browser size between mobile/desktop sizes
Fixes a number of issues found after merging in the side nav.