The problem: paginator is located at the bottom of the post comments. If the user clicks on paginator and selects a new page the screen is showing something unexpected for the user. Comments have different number of rows and after switching page user can be located in the middle of the comments or in the footer part of the page.
Is there a simple way to trigger on page change clicks in JavaScript? I want to add a scroll up function to the beginning of comment section.