gets the height and width of screen