dismiss popovers by clicking outside them on the tree container
rotated matrix headers for fixed-width matrix cells