update pagination directive and add noFollow directive