update scrollbar config and statusline(show total line no.)