hide spinner once graph is loaded