looking at prev and next in the row