implement AF to view/camera.py