Creating simple looping list/menu, controlled by UMG button

I need to build a simple looping list-type menu with an arbitrary number of positions. It must be controlled by UMG buttons.

Looks like this:


ТЕСТ1, ТЕСТ2 and so on are positions. I need to achieve such kind of menu, which will contain, for example, 20 positions with navigaton up and down and looping - you move lower then last position and automatically transported towards first one.
It looks like a simple task, but it’s tricky, because UMG is not the best instrument for such “primitive” work, as I understand.