Wrap around for previous/next buttons (#16319)
Wrap around for previous/next buttons (#16319)

Fixes #16317

Wrap around from last to first comment when clicking "Next" on last comment.
Wrap around from first to last comment when clicking "Previous" on first comment.
go-gitea/gitea,go-gitea/gitea,go-gitea/gitea