added a spinning loader that can be appended on a per view basis; refactoring
added a spinning loader that can be appended on a per view basis; refactoring