To correctly display image or text on the computer screen, you may need a rotator to help you process the image or text saved in wrong direction. In some cases, you may directly flip the image or text and it will recover to correct direction.
This sounds to be an interesting problem. I reckon that in this circumstance to use something like a UI rotator control would be helpful. Certainly, to read some materials for using rotator control is highly recommended. I must be of great help.