Memphis Grizzlies guard Tony Allen had a hug for his former coach, Doc Rivers, as the final seconds ticked off the clock in a victory over the Boston Celtics at TD Garden.