change resize margin