Slider Animation — Centered Slide Bigger

Hey everyone,

I’m trying to create a CMS generated slider that has a large central slide and two visible smaller slides on either side (see below):

I have created a CMS generated slider using custom code, however now that I’m trying to add an animation (through ‘Element Trigger’ then ‘Slider Change’ applied to the slides themselves) I’m experiencing a weird thing where the centred slide disappears off the page.

Can anyone help?

My current slider has a central mask with overflow set to visible and a custom code snippet which starts the slider at the second slide.

Here is where the page is at so far: