added class to post in viewDetailed section