The kinematics of merging galaxies