toggle palette on double click