handle back link, and add arrows to prev/next/back