fix bug where page reloads on pagination