Refinement of new Jump option

Added in to Jump Option A, that if there is no next or previous chapter
defined (nx and pr variables), it jumps to the end or beginning of the
current chapter