basic window size tracking