changed the galery page with thumbnails