layout the doc, modify the touch swallow