diff --git a/inc/html.php b/inc/html.php
index 350c65f076f92349246ab0e3f7104d4fa3c9ab91..8e594aa213d64f51440c04d3a423e6d8a0cf2703 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -270,7 +270,7 @@ function html_show($txt=null){
 
     if (!is_null($txt)){
         //PreviewHeader
-        echo '<br id="scroll__here" />';
+        echo '<br id="scroll__here" class="scroll__here" />';
         echo p_locale_xhtml('preview');
         echo '<div class="preview"><div class="pad">';
         $html = html_secedit(p_render('xhtml',p_get_instructions($txt),$info),$secedit);
@@ -939,7 +939,7 @@ function html_index($ns){
     $ns  = utf8_encodeFN(str_replace(':','/',$ns));
 
     echo p_locale_xhtml('index');
-    echo '<div id="index__tree">';
+    echo '<div id="index__tree" class="index__tree">';
 
     $data = array();
     search($data,$conf['datadir'],'search_index',array('ns' => $ns));
@@ -1002,7 +1002,7 @@ function html_li_index($item){
         // scroll to the current item
         if($item['id'] == $INFO['id'] && $ACT == 'index') {
             $id = ' id="scroll__here"';
-            $class = ' bounce';
+            $class = ' scroll_here bounce';
         }
         return '<li class="level'.$item['level'].$class.'" '.$id.'>';
     }elseif($item['open']){
@@ -1895,8 +1895,8 @@ function html_edit(){
     <div class="editBox" role="application">
 
     <div class="toolbar group">
-        <div id="draft__status"><?php if(!empty($INFO['draft'])) echo $lang['draftdate'].' '.dformat();?></div>
-        <div id="tool__bar"><?php if ($wr && $data['media_manager']){?><a href="<?php echo DOKU_BASE?>lib/exe/mediamanager.php?ns=<?php echo $INFO['namespace']?>"
+        <div id="draft__status" class="draft__status"><?php if(!empty($INFO['draft'])) echo $lang['draftdate'].' '.dformat();?></div>
+        <div id="tool__bar" class="tool__bar"><?php if ($wr && $data['media_manager']){?><a href="<?php echo DOKU_BASE?>lib/exe/mediamanager.php?ns=<?php echo $INFO['namespace']?>"
             target="_blank"><?php echo $lang['mediaselect'] ?></a><?php }?></div>
     </div>
     <?php
@@ -2103,7 +2103,7 @@ function html_TOC($toc){
     if(!count($toc)) return '';
     global $lang;
     $out  = '<!-- TOC START -->'.DOKU_LF;
-    $out .= '<div id="dw__toc">'.DOKU_LF;
+    $out .= '<div id="dw__toc" class="dw__toc">'.DOKU_LF;
     $out .= '<h3 class="toggle">';
     $out .= $lang['toc'];
     $out .= '</h3>'.DOKU_LF;
@@ -2314,4 +2314,4 @@ function html_sizechange($sizechange, Doku_Form $form) {
         $form->addElement($value);
         $form->addElement(form_makeCloseTag('span'));
     }
-}
+}
\ No newline at end of file