Added support for the Screen Orientation API