added automatic resizing splits