Added header page navigation for categories
Escape spaces in id queries