implemented slider for the history