Make the resize of the split window optional

In most cases, I prefer don't resize the window, make it optional.