Violations of Jeffery's theory in the dynamics of nanographene in shear flow