Use of start/end templates for next/prev links