Rotate the palm according to the average finger direction.