icon class fix for gallery.php