Improve detail VC layout during animation

Fix layout jumps by calling `layoutIfNeeded` within the animation block.