Added support for custom transorm duration and easing.