Fixed a bug where graph buttons were not wrapped in the button area.
Graphs and graph buttons are placed in the order user collapse/expands graphs.