Added back and forth buttons

As this is a single page app, the browsers back and forth buttons do not
work. Therefore, now we have some in javascript.