Refactored nav menu open and closing, events now triggered when cursor gets within 40px of element