replace buttons with menus

Provides more screen space for graph display.