add device orientation tracking