change result list display to using flex layout