Support window.orientation property.