Usually to make infinite scrolling background in your games you need to use a texture offset with a repeating background.