implement autofocus when motion sensor detect significant movement