Orientation handling v1.0
Little code adjustments
Merge pull request #1 from Asich/Landscape-orientation-handling

Adds lanscape orientation and another code adjustments