Reversible phase transformation in graphene nano-ribbons: Lattice shearing based mechanism