add the chain func to chain animations; bit wonky right now