fix bug in navigation (was getting inter-page links on "view single page")