close shutter upon motion detection