modified to use with managerResize