Hi to make your overlay loop you need to play with it a lot if you do not use the size to use daras templlate.
Basicly it is usually done so you use 2 ovrlays one created from the othher andy you loop them together.the secons is shifted so it starts where the first one ends and with it you fill the gap which you probalby see.