changed dimension of window