Smart Recent Search Show and Hide