Added deviceMotion