Showed all wikipathways in the Pathways widget in the Topic page #2856

The while loop seem a bit confusing. If possible, it would seem more clear using ->col and a foreach loop, I think.