       for name, dropdown of cfg.dropdowns
         toolbar.addDropdown dropdown if dropdown
 
-      @dynamic_toolbar = @toolbar.clone()
-      @dynamic_toolbar.appendTo('body')
-      @dynamic_toolbar.css {
-          position: 'fixed',
-          top: '10%',
-          left: @toolbar.offset().left
-          display: 'none'
-      }
+      @toolbar_placeholder = $('<div/>').
+        addClass('placeholder').
+        css {
+          height: @toolbar.height()
+        }
+
+      @editor.before @toolbar_placeholder
+      @toolbar.appendTo @toolbar_placeholder
 
       @editor.parents('form:first').submit () =>
         @save()

      return false

    needFixToolbar: () ->
      static_offset = @toolbar.height()
      elem = @editor
      docViewTop = static_offset + $(window).scrollTop()
      docViewBottom = static_offset + docViewTop + $(window).height()

      elemTop = elem.offset().top
      elemBottom = elemTop + elem.height()

      toolbar_too_high = (elemTop < docViewTop) && (elemBottom > docViewTop)

      @editor = WysiHat.Editor.attach($(editor))
      @editor.handler = self
      self.cfg = cfg
      @load()

      @editor.addClass 'clearfix'

