Bi-fold and folding doors