fix for centered pagination