Make viewer be index.