Starting to implement resizing of window/canvas