Fixing context being undefined in template due to incorrect referencing.
Also adding :target state to category headings