Device-motion and touch events