Add resizing of transition.
Add resizing of transition based on content add line in transition