add some more console logging to try to resize data panel without messing up headers