minor adjustment to window size