added bad hack to restart chart animation everytime
merge