made the history scrollbar work\!