I never was Kidd's fan, but he kinda got my respect for his attitude and Roof Piece was good.
At the same time, Shanks did a very yonkou thing, he saw Kidd as s threat and eliminated the threat, so in terms of story everything makes perfect sense to me.