Implemented jumpNoteUp for any depth