Fixed orientation changing

Trackpad needs further debugging