Choppy/unaligned scrolling background

I am working on a project that has a vertically scrolling background, but it seems jerky/choppy and the images start leaving very small (a few pixels) gaps in between segments after one viewing of each segment.  Anyone have a way to fix this or is there a better approach to this all together?

Here is the relevant code:

local background\_moving = true local scroll\_speed = 15 local background1 = display.newImageRect("background4.png", screenW, screenH) background1.anchorX = 0 background1.anchorY = 0 background1.x = 0 background1.y = 0 background1.speed = scroll\_speed local background2 = display.newImageRect("background4.png", screenW, screenH) background2.anchorX = 0 background2.anchorY = 0 background2.x = 0 background2.y = screenH \* -1 background2.speed = scroll\_speed local background3 = display.newImageRect("background4.png", screenW, screenH) background3.anchorX = 0 background3.anchorY = 0 background3.x = 0 background3.y = screenH\*-2 background3.speed = scroll\_speed function scrollBackground(self,event) if background\_moving == true then if self.y \> 1136 then self.y = -1136 else self.y = self.y + self.speed end elseif background\_moving == false then return true end end background1.enterFrame = scrollBackground Runtime:addEventListener("enterFrame", background1) background2.enterFrame = scrollBackground Runtime:addEventListener("enterFrame", background2) background3.enterFrame = scrollBackground Runtime:addEventListener("enterFrame", background3)

thanks

bump

bump