Add search bar to maps function in library index