Fix pagination for ie