added more stuff to make the drop and drag interface more seamless