Movement with the accelerometer