Changing the wiper position, you could change the resistance an then, the Ohm's law say that if in the circuit you short the resistance, you will acquire or receive more current, taking into account that the voltage is a constant, so, the LED (Light Emitting Diode) will suffer a potential fall that will it turn on