Changes to devicemotion to make it smoother and more efficient
Merge branch 'leaf-let-it' of https://github.com/lizardsystem/bui into leaf-let-it