Analog ports disturbed

Sketch? Are you doing anything with the potentiometer value that might have an impact on the supply voltage?