[library] Add support for predictive animations in TWLayoutManager