Fix broken user list paginated scrolling

Closes #4695

The markup update in #4397 broke the user list paginated scrolling. The class used in the tests was moved to another element, which is why tests still passed.

This adds a new class to the template, which fixes the broken pagination.