Adjusting pagination appearance. Moving to separate template.