Devicemotion tweak