fix auto rotate
Merge pull request #476 from scuben/fix-auto-rotate

fix auto rotate