made blocks consistent in motion_detection.html