Add basic (slow) auto-orientation support.