close on the orientation swap