fix chart animation