Refactor modal handling to minimize DOM elements.
Photo navigation links. Closes #91.