photo in view orientates correctly after modal is closed