auto orientation for facedetect