took some vars out of global scope; use pushState
patched several bugs with last commit
rolled back html5 pushstate for now
resolves #23, getting arrows working
resolves #22, made right arrow visible again by setting a margin-right of a few percent