refactor(orientation): use window.orientation if available