I wonder why this function is in the layer's context menu, when it's got nothing to do with the layer itself? It seems to be a generic function (not layer-dependent) to hide/show the history panel?