Add subwidgets map to resulting widget when building from template.
Add scrollbar behavior. WIP.