Prevent dropdown nav menus from staying open accidentally