fixing weird draggable bug