added cropping based on face detection