Added support for flipping the view and camera input with the phone.