Tween widget functionality

This pr improves tweens widget by automatically building and adding the timelines to the first element of the selection array.