Fix sliding and reset metricsTree in metricAddController