Updated gallery to allow for list instead of thumbnails