moves index.html to index view