pagination gradient fix