better route handling
Merge pull request #1 from nean/page-root-change

better route handling