Tuning the gelation of thermoresponsive gels