Photosensor for consumer electronics, Photosensor for motion detection