use templates for rendering scrolls

Instead of using JS for building up scrolls, use templates. Every scroll
item view is rendered and afterwards passed to the scroll template.