changes to sidebar-primary

made a new, better way to get the boards sidebar logos (just hope it
works when i get it over to the server)