Fixing transition in dendrogram