Motion detection.