fix(uiLayout): resize layout on window resize

This change will reset the size of the layout when a window resize occurs to ensure the layout fits within the new window constraints.

Resolves #47