fix pagination colorbox issue