resizing window size at start