implemented library virtual scrolling