Disable pan on click of image or link.