fixing nav open issue when clicking box logo on mobile