Fix back button to index page

closes #1278