Stop in for a cup of coffee

Question. It rides on bottom roller. What holds the top to track the gate when it slides??
PXL_20210417_100948224.jpg