photo gallery click event added