change check for galleria thumbnail wrapping