add hash to path & more hash check

fix when current pathname is /, href is /topic-n#reply-3, show with hash instead of return