Sentence:  We were forbidden to <WSD>swing</WSD> on the gates , lest they sag on their hinges in a poor-white-trash way , but we could stand on them , when they were latched , rest our chins on the top , and stare and stare , committing to memory , quite unintentionally , all the details that lay before our eyes . 
Meaning of the word marked with <WSD> tags:  move or walk in a swinging or swaying manner