added transition to detail page