Update: New file (paginator_prev_next.py) for going to previous or next index from current index.