Add the orientation attribute on the stack