fix scrolling to selected keyword in library doc