Added support for 'sensor' orientation