 			dim_element.viewportBottom = dim_element.viewportTop
 			dim_element.viewportRight = dim_element.viewportLeft
 		else
+
 			dim_element =
 				viewportTop: 0
 				viewportLeft: 0


			# set layer
			CUI.DOM.setStyle @__layer.DOM,
				top: vp.layer_pos.top # pos_top
				# bottom: pos_bottom
				left: vp.layer_pos.left
				# right: pos_right

				# width: Math.ceil(vp.layer_pos.width)

		allowed_placements = (@_placements or @knownPlacements).slice(0)
		wanted_placement = @_placement or allowed_placements[0]

		body_scroll_top = document.body.scrollTop
		body_scroll_left = document.body.scrollLeft

		if @__element
			dim_element = CUI.DOM.getDimensions(@__element)

