775 sticky header sortable tables

All tables have sticky headers and sticky first columns.
extra javascript block moved to the bottom of body

Closes #775