added loading indicator to categories view