Bacteria grows because there were still minute particles of bacteria when you wiped the fridge out.
Tape an object on the door surface to keep the door from closing. This will stop buildup of interior moisture and prevent a child from suffocating inside.