bobbing vs swaying

bobbing

noun
  • The motion of something that bobs. 

swaying

noun
  • The motion of something that sways. 

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

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