Expand nestable by clicking on integrated image field or block

Hi

I would like to know if it is possible to expand the nestable by clicking on an image rather than just the icon,

the nestable is here:

any help would be kindly appreciated.

I tried adding this JS but ti no avail. The image is not clickable.

function toggleContentVisibility() {
  var contentWrapper = document.getElementById("brxe-uackjq");
  if (contentWrapper.style.display === "none") {
    contentWrapper.style.display = "block";
  } else {
    contentWrapper.style.display = "none";
  }
}

document.getElementById("brxe-otgkrs").addEventListener("click", function() {
  toggleContentVisibility();
});

This didn’t work either. The item is not clickable. I am clearly a noob so I am most likely misssing something elementary. How can I make a div or element or image execute the interaction?

I was totally overthinking this:

It was just an arrangement issue just had to put the image inside the title.

Thanks to Rix Martinez for pointing me in the right direction in the FB group!