Resize iframe by polling instead of window.resize