Rewrite the layout using CSS flexbox instead of positionning.
CAM-3037 add animation for layout change