Got AJAX pagination with detail and thumbnail views working on all views in which they're used