added the new events Resize and Stop