change the size of restore window