I would make sure that your bindings are only applied to a container, and not the whole document. That way when you move your div, you'll be moving it to an area that isn't bound by knockout.
ko.applyBindings(myViewModel,document.getElementById('main-content'));