Integration of a 3D animation by swip behaviour