abstracting bar and table
draggable resizeable