Link target fixes

Fixes #42 by ensuring students don’t lose their place when they open a
link.