add resize win cases