Fix reversed direction mappings.
Merge pull request #163 from skyboy/original

Fix reversed direction mappings.