diff --git a/lib/tpl/dokuwiki/css/mobile.css b/lib/tpl/dokuwiki/css/mobile.css
index 34955888cbe53ef139bad46393b8d4254763f3ca..31a0a87c899f59689bf08ce0806ae2f160b17967 100644
--- a/lib/tpl/dokuwiki/css/mobile.css
+++ b/lib/tpl/dokuwiki/css/mobile.css
@@ -14,10 +14,30 @@
     width: 100%;
     float: none;
 }
+
 #dokuwiki__aside > .pad {
     margin: 0 0 .5em;
+
+    /* style like the page */
+    background: __background__;
+    color: inherit;
+    border: 1px solid #eee;
+    box-shadow: 0 0 .5em #999;
+    border-radius: 2px;
+    padding: 1em;
+    margin-bottom: .5em;
+    overflow: hidden;
+    word-wrap: break-word;
+}
+
+#dokuwiki__aside h3.aside {
+    padding: 0 0 .5em;
+    font-size: .875em;
+    letter-spacing: .1em;
+    border-bottom: 1px solid __border__;
 }
 
+
 .hasSidebar #dokuwiki__content {
     float: none;
     margin-left: 0;
@@ -45,6 +65,7 @@
     margin: 0 0 1em 0;
     border-right-width: 0;
 }
+
 #dw__toc h3 {
     padding: 0 0 .5em;
 }
@@ -194,6 +215,7 @@
 
 /*____________ content ____________*/
 
+#dokuwiki__aside > .pad,
 .dokuwiki div.page {
     padding: .5em;
 }
diff --git a/lib/tpl/dokuwiki/main.php b/lib/tpl/dokuwiki/main.php
index 5e8eb75176302bf6d209f934af2d7b4b025c9166..4883cc5f08c8d1ea91c300914240fa410e812383 100644
--- a/lib/tpl/dokuwiki/main.php
+++ b/lib/tpl/dokuwiki/main.php
@@ -37,7 +37,7 @@ $showSidebar = $conf['sidebar'] && page_exists($conf['sidebar']) && ($ACT=='show
             <?php if($showSidebar): ?>
                 <!-- ********** ASIDE ********** -->
                 <div id="dokuwiki__aside"><div class="pad include group">
-                    <div class="a11y toggle"><?php echo hsc(ucfirst($conf['sidebar'])) ?></div>
+                    <h3 class="aside a11y"><?php echo hsc(ucfirst($conf['sidebar'])) ?></h3>
                     <div class="aside group">
                         <?php tpl_flush() ?>
                         <?php tpl_includeFile('sidebarheader.html') ?>
diff --git a/lib/tpl/dokuwiki/script.js b/lib/tpl/dokuwiki/script.js
new file mode 100644
index 0000000000000000000000000000000000000000..dd9c175616688bbd6a6502730b5e8b21e2e9e36d
--- /dev/null
+++ b/lib/tpl/dokuwiki/script.js
@@ -0,0 +1,9 @@
+jQuery(function(){
+    // check if we are in mobile mode
+    if(jQuery('div.mobileTools').css('display') == 'none') return;
+
+    // toc and sidebar hiding
+    dw_page.makeToggle('#dokuwiki__aside h3.aside','#dokuwiki__aside div.aside');
+    jQuery('#dw__toc > h3').click();
+    jQuery('#dokuwiki__aside h3.aside').removeClass('a11y').click();
+});