moving index to home views