it had one large triangular sail , lateen-rigged to a twenty foot mast and the bottom to a ten foot boom that swung from side to side depending on the wind , and which caused the passengers to sit slightly hunched over to keep from banging their heads on the heavy wooden beam .