Track mouse movement.