An initial-boundary value problem for the sine-Gordon equation in laboratory coordinates