overflow-x scrolling bug fixed on index