The gas that surrounds galaxies appears to be more spread out than previously thought – and this could help solve a mystery over missing matter