widget with switch button unreal engine

If you want to account for overscroll where the first & last item in the box end up in the middle, you can add a transparent dummy at the beginning and the end of the list.