add popup drag method