How to make slider moves properly in Assembly

Good day everyone,

I want the slider to remain stationary until the pin makes contact with it. Currently, I’m using a concentric constraint, which effectively controls the downward movement of the slider. However, for upward movement, the slider starts moving even before touching the pin. My goal is for the slider to initially move in a straight line and only shift when it comes into contact with the pin.

How can I achieve this? Any guidance would be appreciated!