Add support for orientation checks in IE.