Add to check disply size for rotation