Fix outline on pagination