add ref to Animated transition