Fixed thumb gallery classes