add acitvity indicator to navbar when loading