added prev/next links to attachment pages