Almost sure central limit theorem on maxima and minima