Why the voltage in a circuit drops only after a resistor ?