Reverted getLayoutVars since we're now using ->loadTemplate() rather
than $view->display