How to add vertical Suspension effect

I have a basic suspension with 2 parts for testing which includes a prismatic constraint a spring with no scripts, the suspension works great however it only works on the y axis, I want it to go back to it’s original state if the top part is moved vertically if that makes sense. Yes i know what you might be thinking “just remove the prismatic constraint” Well that adds vertical suspension however it’s very buggy and doesn’t work well. What I mean by “doesn’t work well” is the fact the top part goes all over the place even with the slightest movement.

Im trying to achieve something like this: