update pagination color when active