addition of functionality to change the window size and its zoom-level