fix counter css rules in Gallery.css