reworked detail view and main search view