updated article next/prev theme functions