How to remove gap on slider (move one-by-one)?

Hi,

How to remove the white gap at the end of the slider? I make the mask smaller to 28% width so images move till they reach the mask. But how to stop the move before the white gap occurs?

Recorded screen: Nagranie z ekranu 2022-10-12 o 11.50.50