Added divider
Added resize event
Non jquery version