Detects accelerometer motion