Panning through timeline backwards

Hey… Im working on a project that allows the user to pan left and righ along a picutre (360deg) I can pan the movie right as it just moves frame by frame along the image timeline but when i try and pan left… i have problems with when it gets back to the start of the timeline it just stops…

Any ideas how i can overcome this?

Ta.