Improve drag 'n' drop and resize