Event for cy.resize() #643