pre-resize
post-resize