devicemotion event access from cross-origin iframes
> Workaround for limitations of devicemotion event in iframes
```
$ npm install mobile-gyro-patch
for static html page, you have to just load script on the page
`js
var roundmeMobileGyroPatch = require('mobile-gyro-patch');
`
for dynamic iframe loading (ajax)
`js
var roundmeMobileGyroPatch = require('mobile-gyro-patch');
// call when iframe loaded
roundmeMobileGyroPatch()
``