Nav bar interaction problem, don't know how to fix

On mobile, when I press the nav bar toggle button it opens and closes fine playing the tap 1st and 2nd click animations as expected

But if I click anywhere off screen, the nav bar closes and the 1st and 2nd animations go out of sync with the opening and closing of the nav bar :sob:

Video example

How do I fix this? Please help :sob::sob::sob:


Here is my public share link: LINK
(how to access public share link)