improved layout code for TugOfWarNode