Playing around with orientation detection.