Fix navbar not closing after click in mobile