hide image counter when no images are displayed