Direction left to right or right to left

I needed the animation to go from right to left, so I felt this might be usable for somebody else - feel free to integrate it.