find nth to last element