Why are my sensors not working (the reaction time is so slow)?
Have you tried with a different trimmer?

I dont seem to be able to find any issue with your code or your schematic, so can you please cross verify that the trimmer is not spoilt. 

Can you also check if, when A0 is left floating (nothing connected) it give a random value.