completed total functionality except scrolling in search.java