Split window before opening