add onBlockResize event handle