Any way to quickly minimize and maximise the properties layers help panel?

Hi,
The panel features Properties, layer, display and help.

does this macro vanish all of them ?
I am forever turning it all on and off via red spot top right but the use the handy trick of enter to repeat last command instead operates on the palette.

To double click its top and have it become a thin bar would be great.

Can macros be allocated to a keyboard key combination and if so how or is that unwise ?

Steve