History.back() using up arrow key in detail view