Adds lanscape orientation and another code adjustments