Change main animation for diagrams