Height and Width of Window

Implemented method to get actual width and height from grid/window