only attach handler to links with proper class