added a resized event to App

I added a simple resized event to App, so you can do automatic resizing of components without actively polling the window size.