Set max height of table div based on window height

Fixes #125 by assigning a maximum height for an enclosing container based on the window's current width.