updates to show window resizing