Pages in Pages, Tap Trigger

Hi Guys,

how would you achieve this effect? if you click on boxes they scale up and they you can scale them back down

I see that these are pages within one section… I tried making boxes in Absolute position and scale/move them by triggering an animation by Click but it seems not the right way.

Do you know how to achieve this effect?