Refactored to at least open the notebook with a sub manager
https://github.com/ipython/ipython/pull/5469 was merged. No need for
hack