Support window.orientation property