Add transition for detail view