Scrolling template fix