add history in reverse order from newest to oldest
limit displayed data to  3 elements only