swaying vs swinging back and forth

swaying

noun
  • An injury caused to a horse's back by violent strains or overloading. 

  • The motion of something that sways. 

swinging back and forth

How often have the words swaying and swinging back and forth occurred in a corpus of books? (source: Google Ngram Viewer )