Sometimes providing a slight reveal for the before & after items makes the carousel easier to understand. Revealing a partial view of the items outside the visible areas invites the user to explore the content.
Use the revealAmount parameter to specify how many pixels to reveal of the before and after items.
when creating a carousel, use revealAmount: 20; OR when reconfiguring the amount to reveal after the carousel is created, use carousel.setProperty("revealAmount", 20);