store width and height of windows