Detect vertical/horizontal screen orientation