fixed bug where it was using an improper offset if the slides were not repeat based