Merge pull request #3 from tachylatus/master

Revert to general rotation detection