Add detection of the torso orientation