added class to li gallery