add deep linking support for detail view