Collapse got a nice animation in Editor/Preview only

Hi, please press the left big boxed element in this page:

https://www.civilitas.gr/immigration-history

Two elements will expand below. They expand with animation, although I thought that effects don’t apply to expand/collapse behaviors. And in any case I never hard-coded any short of animation. Here’s the code:

$w.onReady(function() {

$w("#box2, #box35, #text350, #text341").onClick(event => {
					$w("#box105, #box110").expand();
				})
});

In this same page, when in Preview, if I click the (x) button to close the top element, it collapses with some sort of fly-out effect towards the top-left of the screen, like here:

https://www.screencast.com/t/JjPhKer0

Thanks for your support.