Some progress on animation with callbacks. Still an issue with gaps.