Added styling and different views depending on search parameters