Only apply margin-right to content when sidebar is visible