select the last row when you open the view