drag outside window improvment