costomized next line flow and links
get ajax for next lines