Added window resize update handler

the visible components should now properly resize as the browser window
changes size.