Adding nth-of-child to fix ios8 bug