Sometimes a capacitor from the ADC pin to VSS will smooth things out.