potentiometer working?

Path of current in all cases is +5 thru the resistor to Gnd assuming you have the outer legs connected that way and the wiper going to an analog input.
The analog input only draws 1uA of current, the 500uA going thru the pot is the main current flow.