working routing between list view and detail view