Prerender in layer pagination

Discussed offline. Good idea but results in confusing code.