Flexibility in the heads of myosin 5