Abstracted FlowLayout a bit