This is a rather silly idea.
Nonetheless, it's something that I have thought about on several occasions
But rather than use a weight on a slider (an idea I cast aside early in the thinking stage), I was thinking of having a balloon partially filled with fluid at each end of the plane connected with a tube.
Then have some sort of squeezebag mechanism that could squeeze the fluid from one balloon to the other.