added global loader
Merge pull request #259 from safiyu/globalspinner

added global loader