Implemeted loading functionality in all the navigation menu