help. joints vs beginner

hey guys , i need some advice, how do you keep bodies restrained by prismatic joint from moving in wrong axis , for example i have joint that make 2 bodies move only in X axis, but they keep dangling occasionally in Y axis when i move one of them (other body is connected to static body via other joint)
i can show you example. this is testbed unit, just put it in and run.
http://file.ya1.ru/e289d73bb4bd65af0b374abdfebf1d24

Original thread: https://box2d.org/forum/viewtopic.php?t=1924