to swing back and forth