Improve wrapping of buttons

The panels now have a min-width and will scroll when overflowing