Added toggle behavior to toolbox tray buttons.