update pagination
add pagination active state border property.