diff --git a/client/my-sites/controller.js b/client/my-sites/controller.js
index <HASH>..<HASH> 100644
--- a/client/my-sites/controller.js
+++ b/client/my-sites/controller.js
@@ -46,6 +46,11 @@ function renderNavigation( context, allSitesPath, siteBasePath ) {
 }
 
 function removeSidebar( context ) {
+	context.store.dispatch( uiActions.setSection( {
+		group: 'sites',
+		secondary: false
+	} ) );
+
 	ReactDom.unmountComponentAtNode( document.getElementById( 'secondary' ) );
 }
 
@@ -268,11 +273,7 @@ module.exports = {
 		 * Sites is rendered on #primary but it doesn't expect a sidebar to exist
 		 * so section needs to be set explicitly and #secondary cleaned up
 		 */
-		context.store.dispatch( uiActions.setSection( {
-			group: 'sites',
-			secondary: false
-		} ) );
-		ReactDom.unmountComponentAtNode( document.getElementById( 'secondary' ) );
+		removeSidebar( context );
 		layoutFocus.set( 'content' );
 
 		// This path sets the URL to be visited once a site is selected
Framework: Center Drake when user has no sites
- Re-adds a dispatch that removes the sidebar when the user has no sites