added ie hacks to mimic nth-child css rules