added a resized event to App