Added resize event.