Fix gallery thumb spacing