fix animation bug, drag and drop bug