Added ajax loading across pages