format data output, make records scrollable