made edit doctor work with swipe left