added post preview feature in the post view