adjusting layout for search pages