I'm having rotating problems with overlays

What error are you getting?

Have you tried getting rid of the numbers before the overlay MYOVERLAY1 on lines 2,3,4

Edit: Just seen you comment under the picture. So is it that you want it to loop moving backwards and forwards?