Some little fix and improvements with galleries in zinnia