repeat background in both directions