added facility to change orientation of split