Left toolbox: reflow button layout when resized!

The code isn't as elegant as it probably could be, but it's good enough
for now.