update auto scroll for api doc.