auto spliting window