fix to judge rotate direction one time during active
Merge pull request #27 from cad-san/fix-to-change-rotate-direction

fix to judge rotate direction one time during active