Added loading indicator for pushState