Fixes mobile nav not closing on item click