setting up the layout of the post view