styling lists index overflow