How to scroll pages with scroll box to check different info?

For example, I set a scroll box in 1000500 and ten information widgets in 1000100. Then I add ten widgets into scroll box with “AddChild” so that the scroll box will show the top 5 widgets because of size. I plan to use two page buttons to show the top 5 and last 5 widgets. How can I set last 5 widgets in scroll box when I click page2 button? Then when I click page1 button, the top 5 widgets appear again?

Simple. Instead of displaying the widgets automatically, store them into an array and then you can chose to display them any way you like.