implemented layout for AJAX navigation based on AJAX http request