Make orientation work again

Direct changes 90 degree but also flips of 180 degrees works. Both
should be tested by QA.
Merge pull request #1301 from kenchris/orientation

[Tizen] Make orientation work again