Scrolling Background Problem

I am making a platformer, and I want a parallax scrolling background. My background is going to be far too large to fit in a width of 1024, so I need to split it up into separate images. I can make both scroll slower than the foreground, but then background 1 moves first, and then background 2 moves. This constantly leaves a line of 1 or 2 white pixels between the images. Is there a way to make the images attached, or something similar, so I can do the parallax scrolling with more than one picture, without the stupid gap constantly appearing?
Comments
Move or interpolate or change.self.linearvelocity?
Answer: Make them a little wider.