fix scroll index