CYB-368 - Gallery: browser back button in item detail view doesn't return to gallery main

https://jira.ets.berkeley.edu/jira/browse/CYB-368
I think the datacultures code base is fairly under-documented. It would be useful if we could add some JSDocs to each of the functions in this PR.