fix some issues with galleries grid and detailed view; add ability to use a larger image size in gallery grid view