Implemented search functionality with fast caching for resetting the view