resolving an issue on detecting clickables when the clickable is a div element