Add links to the pictures; enable history support