Legend and Previous URL

- Legend created for complex viz.

- When the user clicks the previous page image in the history tab, it
takes them to the previous page