Erik101 , if the example that I posted above produces a gap, then perhaps something is wrong with your system.
Your modified example (after mine) is in essence the same, but with a flaw that mine hasn't*: Mine takes into account the TB's current -x position and adds to it the proper offset (TilledBackground.width/2), while yours just set's its x position to 0. That might introduce jumps and apparent jerkiness to the scrolling movement, because if (for example) the scrolling speed is such that on any tick the TB.X is -853 and on the next tick the TB.X is -900 (and the condition for the set X to 0 meet), then there will be a 47px jump from the last position and the next one. On the other hand, if you add its width/2 to the current -x position when the <-854 condition meet, then you will take onto account the 47px offset and end up exactly on the same place.
*Not because I'm smarter, but just because I had Ashley correcting me into the same thing some time ago