Re-implement function visible_item: just adjust scrolled window when item out of visible area.