change window on upper right side to rectangular