Makes index view dynamic