fix mobile navigation menu and categories' canonical link

This fixes the issue #950 (Mobile navigation menu select has its last option selected by default)
And thanks to @alexkirmse's ["hackish" tweak](https://github.com/imathis/octopress/issues/949#issuecomment-13048944), this fixes the issue #949 as well