Move animation dependencies to shared