fixed findnextmatch function and navigation css
Initial dist subtree commit