avoid show the scrollbar when split the window