Sentence:  When Mark sought my supervision, I taught him the terms top and bottom and explained that gay men usually self-identify as either one or the other. Some men <WSD>go both ways</WSD>—calling themselves "versatile"—... 
Meaning of the word marked with <WSD> tags:  To be versatile, able to act as either a top or a bottom.