deleted unused directives, added fade animation to detail page