Fixes pjax logic to hide content while loading.