add an onResized handler

Not 100% sure if this is valid coffeescript.

The idea was to add a handler for when resizing is complete so other parts of the UI can be updated.