Potential flow below the capillary surface of a viscous fluid