Implements 'next' and 'previous' links for entries