two bug fixes

* restore line space
* handle page mode in redrawCurrentPage

bugs fixed by this commit can be reproduced by simply invoke help page and then return to document.