added template matching to click navigator