Resize fix

Listens and unlistens for `window.resize`.

Use the `resize` method to keep things sized right instead of doing it in `afterRender`.

Also includes the wrapping div fix.