The size change animation works by changing the view's scale property. The scale is set based on the target size. In some cases you will see a "strange" scale effect when the animation starts. It is especially visible if the change is between a large size to a small size.
I found out that the current implementation is better than starting from the original size and scaling it to the target size. In that case the animation ends with a similar jumpiness and it is more substantial.