fix responsive scroll index