Add hook executeResize
Merge pull request #7404 from madeyourday/feature/execute-resize-hook