random rotation of branches