cleaned up jquery import, removed some old debugging, changed the page size check to use the content div instead of individual els to make it more stable, added space and shift+space to keyboard shortcuts