DCollapsibleCategory sliding

Hello everyone,

I have been trying to use the “DCollapsibleCategory” element to slide to a different position once the first one is expanded. How can I go about making it that way? Thanks!

I have tried calling a think function and then geting the position of the first one and adding some spacing in between.