Autorotation of Tablet PCs based on majority rule