Using custom page loader rather than $