Scroll Box Snapping

My scroll box overflows when there are more than 3 buttons. I want the items to snap into position. How do I achieve this?

Looking for the same thing. Anyone?