add flow animation