Add direction option for autoplay feature.
Merge pull request #3 from Atu/rotation-direction

[#1] Add direction option for autoplay feature.