added window size as a window field