resize initial window