expose fixed onResize event