Get window width and height as variables