added double click event to reosurceGallery