(bug 51870) fix html in toolbox for related articles

issue with the bug is that the ULS cog wheel appears
in the wrong place, among fixing some other details.

Change-Id: I4a655d94f9f7be8e082d20b07ca1113525c56ef8