Adds method to replace contentViewController and dismiss sideBar at the same time

I found myself needing to replace the contentViewController, and then immediately dismiss the sideBar.