Ensure animation callbacks are removed when view is detached

- when view is detached, ensure all animation resources are cleaned up by the view
- only dispatch animation callbacks while view is attached