use CSS targeting instead of IDs #2

Instead of just using ID targeting - use any CSS targeting that is in
the `href` or `data-target` attribute part of #2