small fix for flip-x and added missing flip-y
Merge pull request #1 from pluizer/master

small fix for flip-x and added missing flip-y