fixes for table sorting and layout

Sorting the list and scrolling the list (listbody only) are working. Need to add new header and footer next, then further styling.