src: animate layout changes