use rangy, add TitleView for dragging