Nonlinear dynamics for transverse motion of axially moving strings