putting the gallery in the details tab