Fix up some layouts for the ajax navigation