fix loading indicator is displayed on pages not having a menu