init index view