set window initial geometry