add hide mechanism for left panel