refactor recipe detail page views