Scattering in H1 for the intercritical NLS with an inverse-square potential