fix nav being broken for mobile