Improvements to window resizing behavior for vartable