fixed bug with mobile nav menu not closing