fix resizable and draggable