You can use a wider door or add privacy sweeps or molding to minimize the issue. However, barn doors are not great at muffling sounds that you might prefer to keep to yourself in the bathroom.