Major refactoring in js/viz/list.js. Proper list view is more or less drawn within the container now, position_dynamic_elements does not work.
Added code for switching views within main, moved code between main and list
A new version of the table object is created, it's a bit more robust. Field now draws properly in new mode.
Tablesorting now works with the new table class.
New listTable data structure now works for everything but curve drawing.