adding spinner on loading events for folders