How to constrain cylinder laterally in only one direction

I have a cylinderical face with the axis in the z direction. I want to allow the face move in the x direction, but not in the y or z directions. I know how to constrain the z direction, but I am stumped on how to do it in the y direction.

SolidworksSimulation