Relativistic dynamics of sine-Gordon solitons trapped in confining potentials.