updates for resetting orientation.