What keeps barn doors flush against the wall?
That would be the bottom guide. It’s a small piece of hardware that is installed against the wall and keeps the barn door snug against the wall. It also keeps it from swinging out of place.