bug fixed - :nth-child() issue on iOS8

replaced :nth-child() with :nth-of-type()