reduce whitespace between nav and doc on show view, correct html safe for prev next link