Make the result list wrap when going up or down

As it says on the tin