made search has same layout as list