reload charts on firefox when tabs are switched