Heatmap : dynamically adapt height of the heatmap according to the number of items displayed