trying to get progressbar work with ipython notebook