big rewrite, removed scrolling, added nav mode, modified index to demonstrate