Removed gallery DIV if "gallery" category is empty