fix ios orientation change (#215)
fix ios orientation change (#215)

Fall back to window.orientation on ios devices as innerHeight and innerWidth are not updated immediately after orientation change
matthewhudson/device.js