make gallery divs clickable