Added deviceMotion var