implement showing at least n lines of context when jumping to another location

wish issue #488