Viscosity and scale invariance in the unitary Fermi gas