Fix path switching for home page
Merge pull request #96 from mifoscontributer/updaterefs

Fix path switching for home page