Slow rolling, Inflation and Quintessence