Delay in switching tabs to tabs ionic tabs

So in each of my tabs are containing data from the firebase, in everytime I switch from tabs to tabs the tabs below which indicated what tabs is selected is having delayed response. Anyone knows how to solve this problem?