Binding and unbinding the event very easily gets you into situations where you bind multiple times or there is a certain interaction that you didn't quite anticipate. I would prefer if we bound the event as a top level thing and check inside of the function if the navigation is currently open/closed.