Add rotation function by 90 deg with transition