Sentence:  He loved Rick and gave the best years of his life, now to <WSD>roistering</WSD> with him, now to hanging on to his coat-tails. 
Meaning of the word marked with <WSD> tags:  To engage in noisy, drunken, or riotous behavior.