Added basic window resizing