S-matrix pole trajectory of the three-body system