resize window size when start up