Rename cleanContainerForRefresh to destroy

and clean up resize events there instead of in resizeOnRefresh