from side to side vs longways

from side to side

prep
  • Moving or turning back and forth. 

longways

adv
  • Lengthwise, in the longer direction. 

How often have the words from side to side and longways occurred in a corpus of books? (source: Google Ngram Viewer )