Get the height or width of the window