finish setOrientation