Glass transition in gels