mode line: better split windows handling