Re-flow the widgets if a resize event occurs