Make layout of index and search page consistent.