- changes window size and added window centered