fixing cocoonJS motion sensing