adding the thumbnail gallery code