Handle 180 degrees image rotation
Refactored merged rotation code
Changed key bindings for flipping to bar & underscore