move callforphoto click event listener out from openwall script