Next and Previous entry from Collection under Taxonomy

I am a beginner and I'm trying to learn my way around Statamic. I encountered a problem where I want to get the next and previous entry of the collection based on how it was grouped.

My approach in having the taxonomy as a header and the collection as subtopics is like this.

{{ taxonomy:categories }}
  <h2>{{ title }}</h2>
    {{ collection }}
      <li><a href="{{ url }}">{{ title }}</a></li>
    {{ /collection }}
{{ /taxonomy:categories }}

What I want in my page is:

Sidebar               |        Collection Entry Content
   Taxonomy           |     
       -Collection    |
       -Collection    |   
    Taxonomy          |
       -Collection    | <-Prev Entry                      Next Entry->

I managed to get everything working except the previous and next entry.

>>>>>>> Unanswered <<<<<<<
8 Replies