 
 	class Badyl
 		defaults:
-			offset: 0
+			offsetTop: 0
+			offsetBottom: 0
 
 		cssSnippets:
 			top:

		constructor: (@el, config) ->
			@$el = $ @el
			@$el.data "badyl", @
			@config = $.extend {}, @defaults, config
			@state = null
			@badylized = no

			@state = null

			@$refEl.css height: ""
			@badylHeight = @$refEl.height() + @config.offsetTop + @config.offsetBottom

			@$badylInner.css
				width: "#{@containerInnerWidth}px"
				padding: "#{@config.offsetTop}px 0 #{@config.offsetBottom}px"
			@originalHeight = @$originalElement.height()
			@badylInnerHeight = @originalHeight + @config.offsetTop + @config.offsetBottom

			if @badylInnerHeight > @badylHeight
				@$refEl.css height: "#{@badylInnerHeight}px"
				@badylHeight = @$refEl.height() + @config.offsetTop + @config.offsetBottom

			@$badylContainer.css
				position: 'relative'
				height: "#{@badylHeight}px"
				margin: "-#{@config.offsetTop}px 0 -#{@config.offsetBottom}px"
			@$badylInner.css
				height: "#{@badylInnerHeight}px"

