changing interface of index for no scroll