set up message index view