fix compact view not respecting user preference of opening links in new windows

For some reason the main link in compact view does not have this CSS class so links aren't opening in new windows (from the callback in ui.js).

Most of the other links on the compact view page have this class and open in new windows properly, and the main link on non-compact view has it, so this adds it in the compact view.