better layout for search items; mobile detector