scrolling now works through template files.