added isLandscapeMode static method