Move the nav support functions to IndexController
Merge pull request #14 from davidmansy/newBranch

Move the nav support functions to IndexController