Vortices and atoms in the Maxwellian era