added support for flipX of reflections. Necessary in some but not all usages.
1.0.3