added board resize option