AfterResize hook added