bugfix orientation issue while phone/pad lying flat with solution from Adam George