their tails were much like a rats and they used it to fling themselves from tree to tree by wrapping it around a branch and then flipping themselves , somersaulting through the air , to reach another one .