resizin and draggable works on both modes