Dynamic pjax, responds to layout changes across requested pages