post detail view being populated dynamically